﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.Domain;
using Sealight.Core.Common;

namespace Sealight.Data
{
   public interface ITopicDataRepository: IRepository<TopicEntity>
    {
       string GetResourceValue(string name, string langCode);

       IList<LocaleStringResourceEntity> GetResourceValue(string langCode);

       IList<LocaleStringResourceEntity> GetResourceValue();

       LanguageEntity GetLanguageById(Guid id);

       TopicLocalizedEntity SaveOrUpdateTopicLocalized(TopicLocalizedEntity data);

       TopicLocalizedEntity GetTopicLocalizedById(Guid id);

       TopicLocalizedEntity GetTopicLocalized(Guid topicId, Guid languageId);

       void DeletePicture(PictureEntity data);
       PictureEntity GetPictureById(Guid id);
       PictureEntity SaveOrUpdatePicture(PictureEntity data);
       IList<PictureEntity> GetPicture();
       IList<MenuEntity> GetListMenu(MenuSource source, Guid languageId);
    }
}
